<%@ Control Inherits="CVCommunity.Admin.StyleE" %>

<form runat="server" onsubmit="return checknumber();">
<div class="grid">
<table cellspacing="0" width="100%">
<tr class="forumno category">
<td>前台显示方式设定</td>
</tr>
<tr class="forumtd">
<td>默认模版&nbsp;<asp:DropDownList ID="DefaultTemplate" runat="server" /></td>
</tr>
<tr class="forumtd">
<td></td>
</tr>
<tr class="forumtd">
<td class="smallbox"><asp:CheckBox ID="ShowFriendLink" runat="server" Text=""/>
&nbsp;在首页显示友情链接</td>
</tr>
<tr class="forumtd">
<td class="forumno smallbox">
<div class="left" style="padding-top:5px;">在线用户显示在</div><div class="left"><asp:CheckBoxList ID="OnlineUsersShowAt" RepeatDirection="Horizontal" runat="server">
<asp:ListItem Text="首页" Value="2" />
<asp:ListItem Text="版面" Value="4" /></asp:CheckBoxList></div></td>
</tr>
<tr class="forumtd">
<td class="smallbox forumno">
<div class="left" style="padding-top:5px;">显示在线列表方式</div>
<div class="left"><asp:RadioButtonList ID="OnlineUsersShowMode" RepeatDirection="Vertical" runat="server">
<asp:ListItem Text="只显示在线统计信息" Value="2" />
<asp:ListItem Text="显示在线统计信息和所有在线用户" Value="4" />
<asp:ListItem Text="显示在线统计信息和在线会员" Value="8" />
</asp:RadioButtonList></div></td>
</tr>
<tr class="forumtd">
<td>版面页每页显示&nbsp;<asp:TextBox ID="TopicPageSize" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" runat="server" Width="50" alt='numeric'/>&nbsp;条主题</td>
</tr>
<tr class="forumtd">
<td>主题页每页显示&nbsp;<asp:TextBox ID="ReplyPageSize" class="input2" onblur="this.className='input2'" onfocus="this.className='input1'" runat="server" Width="50" alt='numeric' />&nbsp;条回复</td>
</tr>
<tr class="forumtd">
<td>会员页每页显示&nbsp;<asp:TextBox ID="MemberPageSize" class="input2" onblur="this.className='input2'" onfocus="this.className='input1'" runat="server" Width="50" alt='numeric'/>&nbsp;位会员</td>
</tr>
<tr class="forumtd">
<td>首页最后发表主题标题最大显示&nbsp;<asp:TextBox ID="MaxLengthOfLastTopicTitleAtIndex" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" runat="server" Width="50" alt='numeric'/>&nbsp;个字节</td>
</tr>
<tr class="forumtd">
<td>版面页主题列表标题最大显示&nbsp;<asp:TextBox ID="MaxLengthOfTopicTitleAtBoard" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" runat="server" Width="50" alt='numeric' />&nbsp;个字节</td>
</tr>
<tr class="forumtd">
  <td>预览回复内容最大显示&nbsp;
    <asp:TextBox ID="PreviewBodyLength" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" runat="server" Width="50" alt='numeric' />    
    &nbsp;个字节</td>
</tr>
<tr class="forumtd">
  <td>帖子内容包含关键字
    <asp:TextBox ID="BadWords" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" runat="server" Width="250" />
    ，替换成
    <asp:TextBox ID="ReplaceTo" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" runat="server" Width="50" /></td>
</tr>
<tr class="forumtd">
<td class="smallbox"><asp:CheckBox ID="EnabledQuickPost" runat="server" Text=""/>启用快速发帖&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  <asp:CheckBox ID="ShowFloatUserInfo" runat="server" Text=""/>启用浮动用户信息</td>
</tr>
<tr class="forumtd">
<td>标记&nbsp;<asp:TextBox ID="NewTopicLimitHours" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" runat="server" Width="50" alt='numeric'/>
小时内的主题为新主题</td>
</tr>
<tr class="forumtd">
<td>提示信息停留
<asp:TextBox ID="DelayOfMessageShow" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" runat="server" Width="50" alt='numeric'/>
秒后再自动跳转</td>
</tr>
<tr class="forumtd">
<td align="center"><asp:Button Text="保存设置" class="button" OnClick="Save" runat="server"></asp:Button></td>
</tr>
</table>
</div>
</form>